package com.cl.factory;

public class PizzaTestDrive {
    public static void main(String[] args) {
        PizzaStore nyStylePizzaStore = new NYStylePizzaStore();
        PizzaStore ccStylePizzaStore = new CCStylePizzaStore();

        Pizza pizza = nyStylePizzaStore.orderPizza("cheese");
        System.out.println(pizza.getName());

        Pizza pizza1 = ccStylePizzaStore.orderPizza("cheese");
        System.out.println(pizza1.getName());
    }
}
